package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.HospitalLevelDict;
import com.ajk.server.model.query.HospitalLevelDictQuery;

/**
 * 医院等级  <br>
 * dict_hospital_level <br>
 * v1.0 2016-05-01
 */
 public interface HospitalLevelDictService {
	
	/**
 	*根据ID删除 医院等级
 	*/
 	public Integer deleteHospitalLevelDictById(Integer id);
 	
 	/**
 	*新增 医院等级
 	*/
 	public Integer batchInsertHospitalLevelDict(List<? extends HospitalLevelDict> hospitalLevelDicts);
 	
 	/**
 	*新增 医院等级
 	*/
 	public Integer insertHospitalLevelDict(HospitalLevelDict domain);
 
 	
 	/**
 	*更新 医院等级
 	*/
 	public Integer updateHospitalLevelDict(HospitalLevelDict domain);
 	
 	/**
 	*根据ID查询 医院等级
 	*/
 	public HospitalLevelDict findHospitalLevelDictById(Integer id);

	/**
 	*通过query 查询 医院等级
 	*/
	public List<HospitalLevelDict> findHospitalLevelDictByQuery(HospitalLevelDictQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countHospitalLevelDictByQuery(HospitalLevelDictQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<HospitalLevelDict> findHospitalLevelDictByIds(List<Integer> ids);
 	
 	/**
 	*根据name查询 医院等级
 	*/
	public HospitalLevelDict findByName(String name);
	
	/**
 	*获取所有字典 医院等级
 	*/
	public List<HospitalLevelDict> findAll();
	
}	